/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ronin.dao.api;

import com.ronin.model.Personel;
import java.util.List;

/**
 *
 * @author esimsek
 */
public interface IPersonelDao {
    
    Personel getSingle(Personel personel);
    
    Personel getSingleById(Long id);
    
    Personel getSingleOneByNamedQuery(String namedQuery,Object... parameters);
    
    List<Personel> getList(Personel personel);
    
    List<Personel> getListByNamedQuery(String namedQuery,Object... parameters);
    
    int getCount(Personel personel);

    void add(Personel personel);

    void update(Personel personel);

    void delete(Personel personel);
}
